inherited FrmCon_PedidosVenda: TFrmCon_PedidosVenda
  Left = 311
  Top = 140
  Caption = 'Pedidos de Venda'
  ClientWidth = 774
  OldCreateOrder = True
  Position = poDesktopCenter
  OnActivate = FormActivate
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 13
  inherited GB: TGroupBox
    Width = 774
    Height = 95
    object Label2: TLabel
      Left = 56
      Top = 16
      Width = 98
      Height = 14
      Caption = 'C'#243'digo do Cliente'
      Transparent = True
    end
    object btnC_Entidade: TSpeedButton
      Left = 202
      Top = 12
      Width = 23
      Height = 22
      Enabled = False
      Flat = True
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        04000000000000010000120B0000120B00001000000000000000000000000000
        800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        333333333333FF3333333333333C0C333333333333F777F3333333333CC0F0C3
        333333333777377F33333333C30F0F0C333333337F737377F333333C00FFF0F0
        C33333F7773337377F333CC0FFFFFF0F0C3337773F33337377F3C30F0FFFFFF0
        F0C37F7373F33337377F00FFF0FFFFFF0F0C7733373F333373770FFFFF0FFFFF
        F0F073F33373F333373730FFFFF0FFFFFF03373F33373F333F73330FFFFF0FFF
        00333373F33373FF77333330FFFFF000333333373F333777333333330FFF0333
        3333333373FF7333333333333000333333333333377733333333333333333333
        3333333333333333333333333333333333333333333333333333}
      NumGlyphs = 2
      OnClick = btnC_EntidadeClick
    end
    object Label3: TLabel
      Left = 108
      Top = 43
      Width = 46
      Height = 14
      Caption = 'Situa'#231#227'o'
    end
    object Label1: TLabel
      Left = 6
      Top = 69
      Width = 148
      Height = 14
      Caption = 'Data para in'#237'cio da consulta'
    end
    object lblRegiao: TLabel
      Left = 332
      Top = 71
      Width = 92
      Height = 14
      Caption = 'Regi'#227'o de Venda'
      Visible = False
    end
    object EdtEnt_codigo: TEdit
      Left = 160
      Top = 12
      Width = 38
      Height = 22
      BevelKind = bkFlat
      BorderStyle = bsNone
      MaxLength = 5
      TabOrder = 0
      OnEnter = EdtEnt_codigoEnter
      OnExit = EdtEnt_codigoExit
      OnKeyDown = EdtEnt_codigoKeyDown
    end
    object pnlEnt: TPanel
      Left = 228
      Top = 12
      Width = 385
      Height = 22
      Alignment = taLeftJustify
      BevelInner = bvLowered
      Caption = 'Vazio = Todos'
      Color = 14081504
      TabOrder = 4
    end
    object ed_situacao: TComboBox
      Left = 160
      Top = 39
      Width = 145
      Height = 22
      BevelKind = bkFlat
      Style = csDropDownList
      ItemHeight = 14
      TabOrder = 1
      Items.Strings = (
        'Pendente(s)'
        'Fat. Parcialmente'
        'Faturado(s) Total'
        'Cancelado(s)'
        'Todos')
    end
    object EdtData_inicial: TDateEdit
      Left = 160
      Top = 66
      Width = 89
      Height = 21
      NumGlyphs = 2
      TabOrder = 2
      OnKeyDown = EdtData_inicialKeyDown
    end
    object cmbxRegiao: TComboBox
      Left = 432
      Top = 67
      Width = 327
      Height = 22
      BevelKind = bkFlat
      Style = csDropDownList
      ItemHeight = 14
      TabOrder = 3
      Visible = False
      OnChange = cmbxRegiaoChange
    end
  end
  inherited Panel1: TPanel
    Width = 774
    inherited BtnFechar: TBitBtn
      Left = 330
    end
    inherited BtnFechar1: TFlatButton
      Left = 314
    end
  end
  inherited Panel2: TPanel
    Top = 95
    Width = 774
    Height = 205
    object DbgPed: TDBGrid
      Left = 1
      Top = 1
      Width = 772
      Height = 203
      Align = alClient
      DataSource = dts
      Options = [dgTitles, dgIndicator, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      TabOrder = 0
      TitleFont.Charset = ANSI_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'Arial'
      TitleFont.Style = [fsBold]
      OnDrawColumnCell = DbgPedDrawColumnCell
      OnDblClick = BtnFecharClick
      OnKeyDown = DbgPedKeyDown
      OnTitleClick = DbgPedTitleClick
      Columns = <
        item
          Expanded = False
          FieldName = 'bkp_pedido'
          Title.Caption = 'Pedido'
          Visible = True
        end
        item
          Color = 16056319
          Expanded = False
          FieldName = 'Ent_Codigo'
          Title.Caption = 'Entidade'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Nome'
          Width = 290
          Visible = True
        end
        item
          Alignment = taCenter
          Color = 16056319
          Expanded = False
          FieldName = 'ped_dataped'
          Title.Alignment = taCenter
          Title.Caption = 'Data'
          Width = 68
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'ped_pedclie'
          Title.Alignment = taCenter
          Title.Caption = 'Ped.Cliente'
          Width = 73
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'PED_PEDREPRE'
          Title.Alignment = taCenter
          Title.Caption = 'Ped.Repre'
          Width = 73
          Visible = True
        end
        item
          Alignment = taCenter
          Color = 16056319
          Expanded = False
          FieldName = 'ped_situacao'
          Title.Alignment = taCenter
          Title.Caption = 'Situa'#231#227'o'
          Width = 56
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'ped_obs'
          Title.Caption = 'Observa'#231#227'o do Pedido'
          Width = 241
          Visible = True
        end>
    end
  end
  object pnlBusca: ttfXP_Panel
    Left = 6
    Top = 227
    Width = 763
    Height = 67
    BevelOuter = bvNone
    Locked = True
    TabOrder = 3
    Visible = False
    object Shape1: TShape
      Left = 0
      Top = 0
      Width = 763
      Height = 67
      Align = alClient
      Brush.Color = clBtnFace
    end
    object pnlBuscas: TPanel
      Left = 1
      Top = 1
      Width = 761
      Height = 65
      BevelInner = bvLowered
      BorderWidth = 1
      TabOrder = 0
      object Label4: TLabel
        Left = 54
        Top = 35
        Width = 47
        Height = 14
        Alignment = taRightJustify
        Caption = 'Ped.Repr.'
        Font.Charset = ANSI_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object FlatSpeedButton1: TFlatSpeedButton
        Left = 8
        Top = 31
        Width = 25
        Height = 21
        TransparentMode = tmAlways
        ColorFocused = clBtnFace
        ColorDown = clBtnFace
        ColorBorder = clBtnFace
        Caption = 'X'
        Font.Charset = ANSI_CHARSET
        Font.Color = clRed
        Font.Height = -21
        Font.Name = 'Courier New'
        Font.Style = [fsBold]
        ParentFont = False
        OnClick = FlatSpeedButton1Click
      end
      object btNext: TFlatSpeedButton
        Left = 488
        Top = 26
        Width = 153
        Height = 34
        Hint = '[F3] Localizar pr'#243'ximo'
        TransparentMode = tmAlways
        ColorFocused = clBtnFace
        ColorDown = clBtnFace
        ColorBorder = clBtnFace
        Caption = 'Localizar Pr'#243'ximo'
        Glyph.Data = {
          360C0000424D360C000000000000360000002800000020000000200000000100
          180000000000000C0000120B0000120B00000000000000000000FFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFEDF1EDFEFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFBBBDBD818A809AA99BFEFFFEFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE
          FFFFFEFF85CA8766AF6B5CA965408C4CADA1ADFCFBFCFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDEE
          FFBCADC27BC07D7FC88480CD8971BD7D766A76A397A3FDFEFDFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7AC3
          8575BE809BD8A6A2DDB09EDCAE91D2A475C37C48964F94948EFAFAFAFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFB1B0B275BE
          8089D294A0DDABA6E1B4A9E7B9A0E1B38AD89172C07971716B8F8D8CF8FAF8FF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDFDFE68CA765ABC687FDA
          8E96E5A6AADABEB6E6CAAEE0C0A8E1BB8CDD9E88E19869C8783F9E4E8B888AE5
          E4E5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFEFEA5A2AB5DBF6B78DA8689E4
          9899E8A9B1E1C5A9D9BDB1E3C3A4DDB79EEFB089E29973D28263C2727370728A
          8789F6F8F6FEFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6F9F455B76560C27073D08D82DCA18FDC
          B09BE0B59FE2B59EE3B19AE5AF9CE7B198DFB793DAB286DBA97AD3945BBC653C
          9D4678866EC7CFC8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFDFEFEE5EDE399A29557B9676ACC7A7DDA9785DFA490DD
          B19BE0B59EE1B49BE0AE96E1AB97E2AC94DBB391D8B088DDAB82DB9C6ECF7859
          BA6368765E777F78C4D4CDFCFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFF6F8F740AF534DBC6062CF7974D8908ED6AB8FD6AE90D7
          AF90D7AF7EDF9D7BDF9D7CE2A17CDFA78DD8AC8FD6AB90D8AA8FD8A675D89467
          D1844ABB642D9E476B7C71B3C4B9F7FFF9FDFFFDFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFEFFFEE1E7E489938D4BBA5E5DCC706FDC8675D99185CDA288CFA78DD4
          AC8CD3AB7CDD9B7EE2A077DD9C77DAA289D4A88CD3A88CD4A689D2A075D8946F
          D98C5ECF7842B35C5F70656B7C71B9CCBDF6FFF9FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFE2E1DE4FA55150B86159C87465D18571D49676D5987DD5997DD5997CD8
          9778D99771DA9772DA9B6FD69C6FD69C7AD9967ED8967FD7957DD39574D19A71
          D29A64D18C5BCB7D4DBC60349239737569BBBAB6FFFFFFFFFFFFFFFFFFFFFFFF
          F4F4F386858152A85454BC6558C7735DC97D63C6886FCE917ED69A7BD39772CE
          8D72D3916DD69365CD8E6BD2986BD29875D49179D3917CD4927CD29471CE976B
          CC9459C68154C4764EBD6151AF566365596F6E6AE7ECEAFFFFFFFFFFFFF6F8F4
          59A6633B8B4843965251A46054A8685CB07064C38059C27959D08160D7885DD1
          8467D58D7BD79674D08F71D08D72D18E66D38F61D28E60D48E5CD08A5DC67B5A
          BB7161BA744EA6644BA165449A5E398C4E458B4FA0A98FFEFEFDFFFFFFFFFFFF
          BDF3C4A4E9AFB8F5C3AFF1BCB4F3C3B8F6C782E19E5BC47B50C77861D8895ED2
          855FCD8574D08F72CE8D6FCE8B71D08D65D28E5FD08C5BCF8953C7814AB3683F
          A0567ED791A0F8B697EDB191E7AB97EAAC9FE5A9EFF4E6FFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFAAFCC158B27658B67663C9885CCC
          8657D18550CF8054D38466CC8468CE8657CF8158D0825AD18354C0783D9F5958
          9961F6EBF3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC2F8D150AA6E58B67664CA895DCD
          8758D28651D08153D28363C98165CB8359D1835AD28454CB7D53BF7736985256
          975FFEFDFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0FEE552A86859B3725FC17F57C8
          7E54CE824BCE7E4ACD7D53D08150CD7E4BD17F4CD28047C77653BF7635995159
          9A5CFEFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDAFCE04BA1615FB97860C28055C6
          7C51CB7F4BCE7E4BCE7E51CE7F4DCA7B46CC7A49CF7D48C8774FBB7235995151
          9254FEFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDAFADD51A1607FCF927DD6976BCF
          8D5BC88453C4814DC17E47C77F4BCB8347CB7E49CD8051CB7F4CB56C389B534E
          9350FEFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE7FEE953A3628EDEA18DE6A780E4
          A26FDC9861D28F51C58244C47C49C98140C4773EC27547C17548B16834974F57
          9C59FEFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE2FDE754985F9ADDAAA3E4B6A4EA
          BBA2EABF9EE6BC8FDBB16ECA996CCA9461BF885FBD865FBD846AC084348A4A51
          9A5CFEFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDAFAE0589C63ABEEBBB0F1C3A7ED
          BEA2EABFA8F0C6A3EFC595F1C08CEAB483E1AA86E4AD85E3AA97EDB1368C4C4F
          985AFEFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0FBE7509160C0F4CFC3ECD1C4EB
          D2CFEFDCD0E9DBD1EADCCAEED8C8F1D6C5EED3C4F3D3BBEECCBBF4CD3E865250
          9864FDFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDFFAE6569766C4F8D3CDF6DBCBF2
          D9D0F0DDD1EADCD5EEE0CFF3DDCDF6DBC8F1D6C7F6D6C1F4D2C3FCD5438B5744
          8C58FDFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDDF8E5579468CAF6D7D3F4DFD8F2
          E2E3F3E8E7EDE8E6ECE7DFEAE0E1EEE0E1F1E0E8F8E7DBF1DECFF4DA49885E54
          9369FCFDFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDDF8E5569367D7FFE4D4F5E0D3ED
          DDDFEFE4EAF0EBE8EEE9E9F4EAE8F5E7E0F0DFE3F3E2D9EFDCD4F9DF3C7B514F
          8E64FCFDFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEAFAEC4F8459CDF6D6D0F3D8D3F6
          DBDAF7E0DAF5E1D4EFDBCCEFD5D7FAE0DCF3DDD9F0DAD7F1DAE5FFE84479525D
          926BFEFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB7ECC15F9469CCF5D5DBFEE3DAFD
          E2D4F1DAD5F0DCDEF9E5D6F9DFD2F5DBD6EDD7DFF6E0DEF8E1D4EED7457A5361
          966FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDAFCDC75A378719C7766916C6998
          726B9E78679A74669D765A9F745CA1766C9F7A789C7E76957A77967B6A9B75B2
          E3BDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
        Layout = blGlyphLeft
        Spacing = 8
        OnClick = btNextClick
      end
      object BmsXPTopBar1: TBmsXPTopBar
        Left = 3
        Top = 3
        Width = 755
        Height = 20
        Align = alTop
        BevelInner = bvRaised
        BorderWidth = 1
        Caption = 'BmsXPTopBar1'
        Ctl3D = False
        ParentCtl3D = False
        TabOrder = 0
        GradientColors.StartColor = clSilver
        GradientColors.EndColor = clWhite
        GradientKind = gkHorizontal
        object Label5: TLabel
          Left = 5
          Top = 3
          Width = 720
          Height = 14
          Caption = 
            'Localizar Cliente / Pedido                                      ' +
            '                                                                ' +
            '                                                                ' +
            '    [F5 p/ Trocar]'
          Font.Charset = ANSI_CHARSET
          Font.Color = 7303023
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
          Transparent = True
        end
        object FlatButton1: TFlatButton
          Left = 736
          Top = 1
          Width = 18
          Height = 17
          Color = clRed
          ColorFocused = clRed
          Caption = 'X'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWhite
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
          ParentColor = False
          TabOrder = 0
          OnClick = FlatButton1Click
        end
      end
      object edNome: TEdit
        Left = 104
        Top = 32
        Width = 393
        Height = 22
        BevelKind = bkFlat
        BorderStyle = bsNone
        TabOrder = 1
        OnChange = edNomeChange
        OnKeyDown = edNomeKeyDown
      end
    end
  end
  object tq: TQuery
    DatabaseName = 'Industrial'
    Left = 92
    Top = 169
    object tqNome: TStringField
      FieldKind = fkLookup
      FieldName = 'Nome'
      LookupDataSet = tqEnt
      LookupKeyFields = 'ENT_CODIGO'
      LookupResultField = 'ENT_NOME'
      KeyFields = 'Ent_Codigo'
      Size = 40
      Lookup = True
    end
    object tqEnt_Codigo: TStringField
      FieldName = 'Ent_Codigo'
      Size = 5
    end
    object tqbkp_pedido: TStringField
      FieldName = 'bkp_pedido'
      Size = 10
    end
    object tqped_pedclie: TStringField
      FieldName = 'ped_pedclie'
      Size = 10
    end
    object tqped_situacao: TStringField
      FieldName = 'ped_situacao'
      Size = 1
    end
    object tqped_obs: TStringField
      FieldName = 'ped_obs'
      Size = 40
    end
    object tqped_dataped: TDateTimeField
      FieldName = 'ped_dataped'
    end
    object tqPED_PEDREPRE: TStringField
      FieldName = 'PED_PEDREPRE'
    end
  end
  object tqEnt: TQuery
    DatabaseName = 'industrial'
    SQL.Strings = (
      'Select Ent_Codigo, Ent_Nome from Entidade')
    Left = 124
    Top = 169
    object tqEntENT_CODIGO: TStringField
      FieldName = 'ENT_CODIGO'
      Origin = 'INDUSTRIAL.ENTIDADE.ENT_CODIGO'
      Size = 5
    end
    object tqEntENT_NOME: TStringField
      FieldName = 'ENT_NOME'
      Origin = 'INDUSTRIAL.ENTIDADE.ENT_NOME'
      Size = 40
    end
  end
  object dsp: TDataSetProvider
    DataSet = tq
    Left = 92
    Top = 201
  end
  object CDS: TClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dsp'
    Left = 92
    Top = 233
  end
  object dts: TDataSource
    DataSet = CDS
    Left = 124
    Top = 233
  end
end
